From: Daniel van Vugt Date: Thu, 27 Aug 2020 08:52:14 +0000 (+0800) Subject: dash: Hide the tooltip when an item is clicked X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~672^2^2~5 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=206d1fa6503896aeb8baca9d4dda7c8aa5b89280;p=gnome-shell.git dash: Hide the tooltip when an item is clicked So that when the 'Show Applications' button is clicked the icons don't fly *through* the tooltip. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1423 --- diff --git a/js/ui/dash.js b/js/ui/dash.js index 16e797d18..dbddd996f 100644 --- a/js/ui/dash.js +++ b/js/ui/dash.js @@ -462,6 +462,11 @@ var Dash = GObject.registerClass({ this._syncLabel(item, appIcon); }); + item.child.connect('clicked', () => { + this._labelShowing = false; + item.hideLabel(); + }); + let id = Main.overview.connect('hiding', () => { this._labelShowing = false; item.hideLabel();